<template>
    <div class="container">
      <!--      工作描述-->
      <van-cell title="在校经历" required/>
      <div class="input_">
        <van-field
          v-model="school_dec"
          name="school_dec"
          rows="2"
          :autosize="autosize"
          type="textarea"
          maxlength="50"
          placeholder="您可以对自己进行评价"
          show-word-limit
        />
      </div>
    </div>
</template>

<script>
export default {
  name: 'Dec',
  data () {
    return {
      school_dec: '',
      autosize: {
        maxHeight: 100,
        minHeight: 50
      }
    }
  }
}
</script>

<style lang="scss" scoped>
::v-deep .van-cell {
  padding: 5px 16px;
  border-radius: 8px;
}

.container {
  padding: 5px 10px;
}

.input_ {
  border: 1px solid #cccccc;
  border-radius: 8px;
}
</style>
